package com.woniuxy.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/*
* 认证（判断用户名密码，生成token返回前端）、鉴权、注册及密码修改
* */
@SpringBootApplication(scanBasePackages = "com.woniuxy") //扫描redis配置类：以便注入redisTemplate
@EnableDiscoveryClient
@EnableEurekaClient
@EnableFeignClients(basePackages = "com.woniuxy.commons.service")
public class AuthApplication {

    public static void main(String[] args) {
        SpringApplication.run(AuthApplication.class, args);
    }

}
